package com.neuedu.controller;

import com.neuedu.entity.MedicalExaminationItem;
import com.neuedu.service.MedicalExaminationItemService;
import com.neuedu.vo.ResultJson;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * <p>
 * 医疗检查项目表 前端控制器
 * </p>
 *
 * @author 王禹
 * @since 2025-08-18
 */
@RestController
@RequestMapping("/medicalExaminationItem")
public class MedicalExaminationItemController {
    @Resource
    MedicalExaminationItemService medicalExaminationItemService;
    @GetMapping("/list")
    ResultJson<List<MedicalExaminationItem>> list () {
        return ResultJson.success(medicalExaminationItemService.list());
    }
}
